package com.jpro.module.system.api.sensitiveword.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SensitiveWordDto {
    @Schema(description = "文本内容")
    @NotNull(message = "文本内容不能为空")
    String text;
    @Schema(description = "场景tag")
    @NotNull(message = "场景tag不能为空")
    List<String> tags;
}
